package com.gg.category.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gg.entity.Category;
import com.gg.mapper.CategoryMapper;

@Service
public class CategoryService {
	@Autowired
	private CategoryMapper  categoryMapper;
	
	
	
	public  List<Category>   getAllCategorys(){
		return  categoryMapper.selectAll();
	}

}
